Global Index
HTML5 JS API Index > SVG Tutorials & Specs

SVGColorProfileRule

Extends SVGCSSRule. Implements SVGRenderingIntent, SVGRenderingIntent.

Properties
const unsigned short
RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5
Corresponds to a value of 'absolute-colorimetric'.
const unsigned short
RENDERING_INTENT_AUTO = 1
Corresponds to a value of 'auto'.
const unsigned short
RENDERING_INTENT_PERCEPTUAL = 2
Corresponds to a value of 'perceptual'.
const unsigned short
RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3
Corresponds to a value of 'relative-colorimetric'.
const unsigned short
RENDERING_INTENT_SATURATION = 4
Corresponds to a value of 'saturation'.
const unsigned short
RENDERING_INTENT_UNKNOWN = 0
The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
DOMString
name
Corresponds to attribute ‘name’ on the given element.
unsigned short
renderingIntent
Corresponds to attribute ‘rendering-intent’ on the given element. The value of this attribute is the value of the the RENDERING_INTENT_* constant defined on SVGRenderingIntent that corresponds to the value of the ‘rendering-intent’ attribute.
DOMString
src
Corresponds to descriptor src within an @color-profile rule. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.